package Day6Zuoye.Airplane;

public class Airplane {
    private int heavy;//自重
    private int height;//飞行高度
//起飞
    public boolean fly(){

        return true;
    }
//加速
    public boolean speedup(){

        return true;
    }
//降落
    public boolean descent(){

        return true;
    }

    public Airplane(int heavy, int height) {
        this.heavy = heavy;
        this.height = height;
    }

    public int getHeavy() {
        return heavy;
    }

    public void setHeavy(int heavy) {
        this.heavy = heavy;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }
}
